package com.bw.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@RestController
public class UserController {

    @RequestMapping("/user")
    public Object getUser(){
        return new HashMap(){{
           put("1","1");
           put("2","2");
        }};
    }
}
